﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DDNY.WebPortals.Common;

public partial class Controls_FooterLinksControl : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            LoadLinks();
        }
    }

    private void LoadLinks()
    {
        List<WebLink> links = LinkManager.GetAllLinks();
        PortfolioLinks.DataSource = links;
        PortfolioLinks.DataBind();
    }
}
